home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 86 / PC Zone #086.7z / Dppcz0200.mdf / Essenti.als / Powertoy / Install.exe / FLEXICD.INF < prev    next >
Windows Setup INFormation  |  1996-03-07  |  3KB  |  105 lines

  1. ; Author: FelixA.
  2. ; installs FlexiCD and changes the AUTO play to be my app.
  3.  
  4. [DefaultInstall]
  5. CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  6. UpdateInis=QCD.Links
  7. AddReg=qcd.reg, QCD.Run
  8. Uninstall=FlexiCD_remove
  9.  
  10. [FlexiCDInstall]
  11. CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  12. UpdateInis=QCD.Links
  13. AddReg=qcd.reg, QCD.Run
  14. Uninstall=FlexiCD_remove
  15.  
  16. [FlexiCD_remove]
  17. DelFiles = QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  18. AddReg = QCD.reg.restore
  19. DelReg = QCD.reg.remove, QCD.Run
  20. UpdateInis = QCD.Links.Remove
  21.  
  22. [version]
  23. signature="$CHICAGO$"
  24.  
  25. ; F i l e   c o p y i n g   s e c t i o n s (where the go to).
  26. [DestinationDirs]
  27. QCD.copy.sys=11
  28. QCD.copy.hlp=18
  29. QCD.copy.prog=24,%PROGRAMF%\%QCDPROG%
  30. QCD.copy.win=25
  31. QCD.copy.inf=17
  32.  
  33. ; w h a t   f i l e s   a r e   c o p i e d   w h e r e
  34. [QCD.copy.prog]
  35.  
  36. [QCD.copy.win]
  37. FlexiCD.exe
  38.  
  39. [QCD.copy.sys]
  40.  
  41. [QCD.copy.hlp]
  42.  
  43. [QCD.copy.inf]
  44. FlexiCD.inf
  45.  
  46.  
  47. ; W h e r e   t h e   f i l e s   c o m e   f r o m
  48. [SourceDisksNames]
  49. 55="Flexi CD Player","",1
  50.  
  51. [SourceDisksFiles]
  52. FlexiCD.exe=55
  53. FlexiCD.Inf=55
  54.  
  55. ; L o c a l i s e d   s t u f f 
  56. [Strings]
  57. PROGRAMF     = "Progra~1"
  58. QCDPROG      = "FlexiCD"             ;
  59. QCDPROG_LOCN = "Accessories\Multimedia"      ; shortcut location
  60. QCD_Desc     = "FlexiCD"             ; shortcut name
  61. QCD_REMOVE_DESC = "FlexiCD (Remove only)"
  62. QCD_ShortDesc= "Tray notification audio CD Player" ; details view
  63. StartUp_DESC       = "Startup"
  64.  
  65.  
  66. ; L i n k s   /   S h o r t c u t s
  67. [QCD.Links]
  68. setup.ini, progman.groups,,"group55=%QCDPROG_LOCN%"
  69. setup.ini, group55,,"""%QCD_Desc%"", ""%25%\FlexiCD.Exe"",,,,,%QCD_ShortDesc%"
  70. setup.ini, progman.groups,, "group1=%StartUp_DESC%"
  71. setup.ini, group1,, """%QCD_Desc%"", ""%25%\FlexiCD.Exe /resume"",,,,,%QCD_ShortDesc%"
  72.  
  73. ; L i n k s   /   S h o r t c u t s - Removal.
  74. [QCD.Links.Remove]
  75. setup.ini, progman.groups,,"group55=%QCDPROG_LOCN%"
  76. setup.ini, group55,,"""%QCD_Desc%""
  77. setup.ini, progman.groups,, "group1=%StartUp_DESC%"
  78. setup.ini, group1,, """%QCD_Desc%""
  79.  
  80. ; A u d i o   A s s o c i a t i o n
  81. [qcd.reg]
  82. HKCR,AudioCD,,,"AudioCD"
  83. HKCR,AudioCD,"EditFlags",1,02,00,00,00
  84. HKCR,AudioCD\DefaultIcon,,,"%11%\shell32.dll,40"
  85. HKCR,AudioCD\shell,,,"play"
  86. HKCR,AudioCD\shell\play,,,"&Play"
  87. HKCR,AudioCD\shell\play\command,,,"%25%\FlexiCD.exe /play %1"
  88. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\FlexiCD,DisplayName,,"%QCD_REMOVE_DESC%"
  89. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\FlexiCD,UninstallString,,"RunDll setupx.dll,InstallHinfSection FlexiCD_remove 4 FlexiCD.inf"
  90.  
  91. [qcd.reg.remove]
  92. HKCR,AudioCD\shell\play\command,,,"%25%\FlexiCD.exe /play %1"
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\FlexiCD,,,
  94. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\FlexiCD,DisplayName,,"%QCD_DESC%"
  95. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\FlexiCD,UninstallString,,"RunDll setupx.dll,InstallHinfSection FlexiCD_remove 4 FlexiCD.inf"
  96.  
  97. ; U n d o   A u d i o   A s s o c i a t i o n
  98. [qcd.reg.restore]
  99. HKCR,AudioCD\shell\play\command,,,"%25%\cdplayer.exe /play %1"
  100.  
  101.  
  102. ; R u n   o n c e   i n s t a l l e d
  103. [qcd.run]
  104. ; HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,foo,,"%10%\FlexiCD.exe"
  105.